# -*- coding:utf-8 -*-
from framework.constant.Testing import Testing

# 数据库连接
SQLALCHEMY_DATABASE_URI = "mysql://wapi_river_stretch:xjf#a*Gs3H@39.107.78.170:3317/wapi_river_stretch"
SQLALCHEMY_BINDS = {
    Testing.TEST_DB: "mysql://wapi_river_stretch:xjf#a*Gs3H@39.107.78.170:3317/wapi_river_stretch",
}
SQLALCHEMY_ECHO = False
SQLALCHEMY_ENGINE_OPTIONS = {
    'echo_pool': True,
    'pool_size': 5,
    'pool_recycle': 360
}

SQLALCHEMY_TRACK_MODIFICATIONS = False

